package com.example.pixelyear.utils.extension

import android.graphics.Color
import com.socks.library.KLog


fun Int.toYxsColor(): Int {
    val color = "#${this.toString().substring(4)}"
    KLog.e("yxs", "转换的颜色：$color")
    return Color.parseColor(color)
}